package dao

import (
	entity "gitee.com/youbeiwuhuan/go-xxljob/internal/data/entity"
	"gitee.com/youbeiwuhuan/go-xxljob/pkg/gormv2"
	"gorm.io/gorm"
)

type XxlJobInfoDao struct {
	*gormv2.BaseDao[entity.XxlJobInfo]
}

func NewXxlJobInfoDao(db0 *gorm.DB) *XxlJobInfoDao {
	return &XxlJobInfoDao{
		gormv2.NewBaseDao(db0, entity.XxlJobInfo{}),
	}
}
